package com.zdtech.entity;

/**
 * TNav entity. @author MyEclipse Persistence Tools
 */

public class TNav implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer parentId;
	private String key;
	private Integer level;
	private String value;
	private String url;

	// Constructors

	/** default constructor */
	public TNav() {
	}

	/** full constructor */
	public TNav(Integer parentId, String key, Integer level, String value,
			String url) {
		this.parentId = parentId;
		this.key = key;
		this.level = level;
		this.value = value;
		this.url = url;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getKey() {
		return this.key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}